package com.hzit.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 类名：
 * 作者：WF
 * 功能：
 */
@Data
@Component
@ConfigurationProperties(prefix = "threadpool")
public class ThreadPoolProperties {
	private int coreSize;
	private int maxSize;
	private int keepAliveTime;
}
